//
//  UIColor+YKRandomColor.m
//
//  Created by yk on 16/3/24.
//  Copyright © 2016年 yk. All rights reserved.
//

#import "UIColor+YKRandomColor.h"

@implementation UIColor (YKRandomColor)

+(UIColor *)randomColor
{
    CGFloat r = arc4random_uniform(256) / 255.0;
    CGFloat g = arc4random_uniform(256) / 255.0;
    CGFloat b = arc4random_uniform(256) / 255.0;
    
    return [UIColor colorWithRed:r green:g blue:b alpha:1.0];
}

@end
